﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#include "/views/ftl/base/manager_include.ftl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>举报列表</title>


</head>
<body style="background:#eef3f7;">
<#include "/views/ftl/base/head.ftl">
<div class="Main">
  <div class="dw">
<#include "/views/ftl/base/menu.ftl">
<#function a><#return "举报_List"></#function> 
<!--右边内容-->
<div class="Rightbox fl">
    <!--导航-->
    <div class="Bread_crbs clear">
      <div class="Bread_crbs_img fl"></div>
      <div class="Bread_crbs_text fl">
      	<a href="javascript:void(0);"><span>用户管理</span></a>
      	<span class="fnt_famy">></span>
      	<a href="javascript:void(0);"><span>举报</span></a>
      </div>
    </div>
       <!--各种表单设置-->
        <div class="bd_box">
        <form id="addForm" name="addAdForm" action="${basePath }manager/Complain_updateComplainType" method="post">
       <input type="hidden" name="complainTypeId" value=${(complainType.id?c)!''}>
          <div class="input_name">
            <span>举报类型名称：</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=text name="typeName" id="typeName" placeholder="请输入名称" value='${(complainType.typeName)!''}' />
          </div><br>
          <div class="input_name">
          <span>举报类型描述：</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="typeExplain" id="typeExplain" placeholder="请输入描述" value='${(complainType.typeExplain)!''} ' />
          </div><br>
          		<div class="input_name"><span>是否需要付费:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<select name="needPayLook" id="type" class="St">
					    <option value="0" <#if (complainType.needPayLook==0)>selected='true'</#if>>不需要</option> 
						<option value="1" <#if (complainType.needPayLook==1)>selected='true'</#if>>需要</option> 										
				</select>
			</div> 
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <div class="button">
          <a href="javascript:insert();"><input type="button" name="button" value="保存" /></a>
        </div>
        </form>
   </div>
   <script type="text/javascript"> 

function insert(){  
	if($("#typeName").val()==''){
		alert("类型名称不能为空");
		return;
	}
	if($("#typeExplain").val()==''){
		alert("类型描述不能为空");
		return;
	}

	addForm.submit();
}
</script>
   
</div>
</body>
</html>

